<!doctype html>
<html lang="en">
<head>
    <?php echo Asset::container('header')->styles(); ?>
    <?php echo Asset::container('header')->scripts(); ?>
</head>
<body>
    <!-- top header begin -->
    <div class="top-header">
        <div class="top">
            <div id="site_nav" class="site_nav">
              <p class="login-info">欢迎回优课堂！<a href="http://youketang.com/sign/reg">[免费注册]</a><a href="http://youketang.com/sign/in">[登录]</a></p>

              <ul class="top_menu">  
                <li class="hd menu-item cart"><a href="#">我的购物车(0)</a></li>
                <li class="hd menu-item">
                  <div class="menu"> 
                    <a class="menu-hd" href="#">我的优课堂<b></b></a>
                    <div class="bd ketang">
                      <div class="menu-bd-panel">
                        <a href="#">最近直播课</a>
                        <a href="#">已买直播课</a>
                        <a href="#" rel="nofollow">已买点播课</a>
                      </div>
                    </div>
                  </div>
                </li>
                <li class="hd menu-item">
                  <div class="menu kechengbiao"> 
                    <a class="menu-hd" href="#">我的课程表<b></b></a>
                    <div class="bd">
                      <div class="menu-bd-panel">
                        <a href="#">收藏的课程</a> 
                        <a href="#" rel="nofollow">关注的课程</a>
                      </div>
                    </div>
                  </div>
                </li>
              </ul>
            </div>
        </div>
    </div>
    <!-- top header end -->
    <!-- header begin-->
    <div class="header">
        <div class="hd_wrap">
                <a href="/" class="logo">优课堂</a>
                <div class="thead_search">
                        <div class="s_fields">
                             <input type="text" value="" class="s_fields_txt" placeholder="请输入关键词、课程名等...">
                        </div>
                        <input type="button" class="s_btn btn btn-large btn-success" value="搜索">
                </div>
        </div>
    </div>
    <!-- header end -->
    
    <!-- nav all begin-->
    <div class="youketang-category">
        <!-- Nav START -->
        <div id="Z_TMAIL_SIDER_V2" class="youketang-nav">
                <div class="navbar">
                  <div class="navbar-inner">
                    <a class="brand" href="#">所有课程分类<i class="icon-chevron-down icon-white"></i></a>
                    <ul class="nav">
                      <li class="active"><a href="#">首页</a></li>
                      <li><a href="#">热门</a></li>
                      <li><a href="#">推荐</a></li>
                    </ul>
                  </div>
                </div>
        </div>
    </div>
    <!-- nav all end -->
    
    <div class="youketang-content">
    <!-- category begin-->
    <div class="youketang-category-nav">
        <div class="wrapper">
          <div class="main">
            <div class="maincontent">
              <div class="topblock">
                <div class="nav homenav" id="nav">
                  <ul> 
				  <?php $root = Home_Data::catList(); if(isset($root['children'])):  foreach($root['children'] as $key => $values):?>
                    <li class=""> <a href="/schedule?category_id=<?php echo $values['id']?>"><?php echo $values['name'];?></a>
					<div class="submenubox disn">
					<div class="subcate">
					</div>
                        <div class="colright">
                          <div class="featuredbrand">
                          </div>
						  <?php foreach($values['children'] as $k1 => $v1):?>
                          <div class="merchantpromotion">
                          <a herf="/schedule?category_id=<?php echo $v1['id'];?>">  <h3><?php echo $v1['name'];?></h3></a>
                            <div class="txtList">
                              <ul>
							  <?php if(isset($v1['children'])):?>
							  <?php foreach($v1['children'] as $k2 => $v2):?>
                                <li><a href="/schedule?category_id=<?php echo $v2['id']?>" title="" ><?php echo $v2['name'];?></a></li>
								<?php endforeach;?>
								<?php endif;?>
                              </ul>
                            </div>
                            <div class="cl"></div>
                          </div>
						  <?php endforeach;?>
					<?php endforeach; endif;?>

                  </ul>
                </div>

              </div>
              <!--end topblock -->

              <div class="cl"></div>
            </div>
          </div>
        </div>
    </div>
    <!-- category end-->
